package com.base.common.common;

public interface Constant {


    public static final boolean isLocal  = false;


	public static final String RECIPIENT  = "666666";

	public static final String CLIENT_ID  = "10001";
	
	public static final String CLIENT_KEY  = "E10ADC3949BA59ABBE56E057F20F883E";
	
	public static final String ACCESS_TOKEN  = "accessToken";
	public static final String ACCESS_PWD  = "access_pwd";
	
	public static final String SIGN  = "sign";

	
	/**
     * 是否debug模式，true会打印信息，正式上线要改为false
     */
    public static final boolean DEBUG_MODE = true;

    public static final int RESULT_ZOOM = 11;

    public static final String APP_FILE_NAME = "YitiMedia.apk";

    public static final String LOG_TIME  = "LOG_TIME:";
    public static final String LOG_PROJECT  = "android_crash_pad_";
	


    //阿里云OSS参数配置
    public static final String OSS_BUCKET_IMAGE = "xiaoguai-img";
    public static final String OSS_BUCKET_VIDEO = "xiaoguai-video";
    public static final String OSS_BUCKET_HEALTH_RAW = "health-source-data";
    public static final String OSS_BUCKET_HEALTH_HB = "health-heartrate-breathing";
    public static final String OSS_BUCKET_HEALTH_TH = "health-wet-temperature-humidity";
    public static final String OSS_BUCKET_HEALTH_T = "health-temperature";
    public static final String OSS_BUCKET_LOG = "xiaoguai-log";
    public static final String OSS_ACCESS_ID = "LTAIQVjjqcgP40f1";
    public static final String OSS_ACCESS_KEY = "ynYlME7T6txkZI6gWnoSzoYIUP6btX";
    public static final String OSS_FILE_URL = "http://img.skg.com/";
    public static final String OSS_ENDPOINT = "http://oss-cn-shenzhen.aliyuncs.com";

    public static final String UI = "UI_";
    public static final String GI = "GI_";

    public static class BuildIconUrl {

        public static String getUserIconUrlByAccount(String account) {
            return OSS_FILE_URL + UI + account;
        }

        public static String geIconUrl(String icon) {
            return OSS_FILE_URL + icon;
        }

        public static String getGroupIconUrlByID(String groupId) {
            return OSS_FILE_URL + GI + groupId;
        }

    }

    /**
     * 
     * 登录类型
     */
    public class LoginType {

        /**
         * 登录类型
         */
        public static final String LOGINTYPE = "loginType";
        /**
         * 短信登录
         */
        public static final String SNS = "sns";
        /**
         * 手机验证码登录
         */
        public static final String MES = "MES";
        /**
         * 第三方平台类型
         */
        public static final String THIRDTYPE = "thirdType";
        /**
         * 微信
         */
        public static final String WEIXIN = "weixin";
        /**
         * QQ
         */
        public static final String QQ = "QQ";
        /**
         * 新浪微博
         */
        public static final String SINA_WEIBO = "weibo";

    }

    /**
     * 第三方平台用户的id
     */
    public static final String THIRD_OPEN_ID = "third_open_id";
    /**
     * 第三方平台用户名
     */
    public static final String THIRD_USER_NAME = "third_user_name";
    /**
     * 第三方平台用户名
     */
    public static final String THIRD_USER_PHoto = "third_user_photo";
    public class MobclickAgent {
        /**
         * 注册事件
         */
        public static final String REGISTER = "register";
        /**
         * 下单事件
         */
        public static final String ORDER = "order";
        /**
         * 登录事件
         */
        public static final String LOGIN = "login";
        /**
         * 支付事件
         */
        public static final String APPLY = "apply";
        /**
         * 商品详情
         */
        public static final String GOODS = "goods";

    }

    public class HEALTH {
        public static final String SUMMARY_INFO = "summary_info";

    }

    public class BAIDU {
        public static final String AI_PLATFORM_APP_ID = "10459485";
        public static final String AI_PLATFORM_API_KEY = "dhbLK4hNhq9ABDjtQZvrqGEv";
        public static final String AI_PLATFORM_SECRET_KEY = "vGcfGCRZF1201hCBiFWucWBUxRRYyzHU";


    }

    /**
     * 音乐列表
     * */
    public class MusicType {
        public static final String ergedaquan = "20";
        public static final String ergeshuiqian = "21";
        public static final String ergeenglish = "22";
        public static final String ergeanmian = "23";
        public static final String gushihui = "10";
        public static final String gushishuiqian = "11";
        public static final String gushienglish = "12";
        public static final String guoxue = "3";
        public static final String yuyin = "4";
    }

    /**
     * 设备相关
     * */
    public class DeviceConstant {
        public static final String ISACTIVE = "ISACTIVE";
        public static final String BEDINFO = "BEDINFO";
        public static final String BAIDU_ACCESS_TOKEN = "BAIDU_ACCESS_TOKEN";
    }

    public class PrefUser {
        public static final String USE_CACHE_INFO = "user_cache_info";

        public static final String USER_ID = "user_id";

        public static final String APPCODE = "appCode";

        public static final String ACCESS_PWD = "access_pwd";

        public static final String CID = "CID";

        public static final String CURRENT_BABYID = "CURRENT_BABYID";

        /*2017-09-05|88|00:00:00_2017-09-05|89|00:00:00*/
        public static final String NIAOSHI_TIME = "NIAOSHI_TIME";

    }

    public class PrefMachine {
        public static final String MACHINE_CACHE_INFO = "machine_cache_info";

        public static final String cfgVersion = "cfgVersion";

        public static final String appVersion = "appVersion";

        public static final String mcode = "mcode";

        public static final String createTime = "createTime";

        public static final String adPath = "adPath";

        public static final String minutes = "minutes";

        public static final String safeCode = "safeCode";

        public static final String serverUrl = "serverUrl";


    }

}
